package com.acme.bankapp.domain.bank.exception;

/**
 * Exception thrown, when client exceeds overdraft limit.
 * 
 */
@SuppressWarnings("serial")
public class OverDraftLimitExceededException extends NotEnoughFundsException {
	/**
	 * Creates overdraft limit exceeded exception.
	 * 
	 * @param amount
	 *            insufficient amount
	 */
	public OverDraftLimitExceededException(double amount) {
		super(
				"Overdraft limit exceeded. Insufficient amount: $" + amount
						+ ".", amount);
	}

}
